<!DOCTYPE html>
<html xmlns:javascript="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>药品信息</title>
    <style type="text/css">
        td{
            height: 25px;
            width: 100px;
            border: #3a8ee6 1px solid;

        }
        input{
            height: 21px;
        }
    </style>

    <script type="text/javascript" src="../../js/jquery-1.11.0.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script type="text/javascript" src="../../js/03/drug07/find11.js"></script>
    <script type="text/javascript" src="../../js/03/weihu/time.js"></script>
    <script type="text/javascript" src="../../js/fenye/fenye.js"></script>
    <script type="text/javascript" src="../../js/fenye/leibie.js"></script>
    <script type="text/javascript" src="../../js/fenye/leibie.js"></script>

    <script type="text/javascript">
        //类别
        $(function () {
            gets(1)
        })
    </script>
</head>
<body>
<div>
    <table class="" style="border: 1px solid #999;border-collapse:collapse">
        <tr>
            <h3 style="height: 50px" >采购单处理</h3></tr>


        </tr>
        <tr>
            <td>采购单编号：</td>
            <td><input id="pnumber" name="pnumber" type="text" value=""></td>
            <td></td>
            <td>采购单名称：</td>
            <td><input id="pname" name="pname" type="text" value=""></td>
            <td></td>
        </tr>
        <tr>
            <td>采购状态：</td>
            <td>
                <select id="status" name="status" style=" height: 25px; width: 178px;">
                    <option value="0">未确认供货</option>
                    <option value="1">未确认供货</option>
                    <option value="2">未确认供货</option>
                    <option value="3">未确认供货</option>
                </select>
            </td>
            <td></td>
            <td>采购医院：</td>
            <td><input id="ph" name="ph" type="text" value=""></td>
            <td></td>
        </tr>
        <tr>
            <td>采购时间：</td>
            <td><input id="lefTime" style="width: 80px" type="date" value="">至<input id="rightTime" onblur="gonghuo()" style="width: 80px" type="date" value=""></td>
            <td></td>
            <td>药品流水号：</td>
            <td><input id="dserial" name="dserial" type="text" value=""></td>
            <td></td>
        </tr>
        <tr>
            <td>通用名：</td>
            <td><input name="cname" id="cname" type="text" value=""></td>
            <td><button style="width: 102px;height: 23px;font-size: 3px">拼音首字母搜索</button></td>
            <td>剂型：</td>
            <td><input name="dform" id="dform" type="text" value=""></td>
            <td></td>
        </tr>
        <tr>
            <td>规格：</td>
            <td><input id="specification" name="specification"  type="text" value=""></td>
            <td></td>
            <td>单位：</td>
            <td><input id="unit" name="unit" type="text" value=""></td>
            <td></td>
        </tr>
        <tr>
            <td>转换系数：</td>
            <td><input id="cc" name="cc" type="text" value=""></td>
            <td></td>
            <td >生产企业:</td>
            <td><input id="manufacturer" name="manufacturer"  type="text" value=""></td>
            </td>
            <td></td>
        </tr>
        <tr>
            <td>商品名：</td>
            <td><input id="pdname" name="pdname"  type="text" value=""></td>
            <td></td>
            <td >药品类别:</td>
            <td>
                <select id="dcid" name="category" style=" height: 25px; width: 178px;">
                    <option value="">请选择</option>
                </select>
            </td>
            <td></td>
        </tr>
    </table>
    <td>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <button type="reset" onclick="gets(1)">查询</button>
      <a href="/myspringboot/DeliveryController/findAllPo"><button>导出</button></a>
    </td><br>
    <td> <input  type="checkbox" onclick="selectAll(this)">全选 &nbsp;&nbsp;<button onclick="show()">选择发货</button>          &nbsp;&nbsp;      <button data-toggle="modal" data-target="#myModal">导入发货单</button>
        &nbsp;&nbsp;  <button >无法发货</button></td>
    <table>
        <tr>
            <td>序号</td>
            <td>选择</td>
            <td>采购单编号</td>
            <td>采购单名称</td>
            <td>采购医院</td>
            <td>开始采购时间</td>
            <td>结束采购时间</td>
            <td>流水号</td>
            <td>通用名</td>
            <td>商品名</td>
            <td>剂型</td>
            <td>规格</td>
            <td>单位</td>
            <td>转换系数</td>
            <td>生产企业</td>
            <td>中标价</td>
            <td>交易价</td>
            <td>采购量</td>
            <td>采购总金额</td>
            <td>供货企业</td>
            <td>采购状态</td>
        </tr>
        <tbody class="a">
        </tbody>
    </table>

</div>
<div class="im-page" id="impage">
    <tr>
        <td><button id='first'>首页</button></td>
        <td><button id='before'>上一页</button></td>
        <td>第<span id="pnum"></span>页</td>
        <td>共<span id="ptotal"></span>页</td>
        <td><button  id='next'>下一页</button></td>
        <td><button id='last'>尾页</button></td>
    </tr>
</div>



<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">×
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    发货单导入
                </h4>
            </div>
            <form action="/myspringboot/DeliveryController/inputExcel" enctype="multipart/form-data" method="post" accept-charset="utf-8">
                <div class="modal-body">
                    下载导入模板文件 <a href="/myspringboot/DeliveryController/download">点击下载发货信息导入模板</a>
                    <hr>
                    提示:请下载后在模板文件中录入发货信息,在下边的"选择文件"中选择要导入的文件,点击"导入"
                    <input type="file" name="file" accept=".xlsx"><br>
                    <a><button type="submit">导入</button></a>
                    <a javascript:;><button>查看导入失败结果</button></a>
                    <a>
                        <button type="button" data-dismiss="modal">关闭</button>
                    </a>
                </div>
            </form>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary">
                    提交更改
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</body>
</html>
